home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 131 / XENIATGM131.iso / Shareware / openOffice.org 641 / Windows / f_0254 / chart.mod
Text File  |  2001-11-19  |  10KB  |  264 lines

  1. <!--
  2.     $Id: chart.mod,v 1.26 2001/11/19 13:23:39 bm Exp $
  3.  
  4.    The Contents of this file are made available subject to the terms of
  5.    either of the following licenses
  6.  
  7.           - GNU Lesser General Public License Version 2.1
  8.           - Sun Industry Standards Source License Version 1.1
  9.  
  10.    Sun Microsystems Inc., October, 2000
  11.  
  12.    GNU Lesser General Public License Version 2.1
  13.    =============================================
  14.    Copyright 2000 by Sun Microsystems, Inc.
  15.    901 San Antonio Road, Palo Alto, CA 94303, USA
  16.  
  17.    This library is free software; you can redistribute it and/or
  18.    modify it under the terms of the GNU Lesser General Public
  19.    License version 2.1, as published by the Free Software Foundation.
  20.  
  21.    This library is distributed in the hope that it will be useful,
  22.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  23.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  24.    Lesser General Public License for more details.
  25.  
  26.    You should have received a copy of the GNU Lesser General Public
  27.    License along with this library; if not, write to the Free Software
  28.    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  29.    MA  02111-1307  USA
  30.  
  31.  
  32.    Sun Industry Standards Source License Version 1.1
  33.    =================================================
  34.    The contents of this file are subject to the Sun Industry Standards
  35.    Source License Version 1.1 (the "License"); You may not use this file
  36.    except in compliance with the License. You may obtain a copy of the
  37.    License at http://www.openoffice.org/license.html.
  38.  
  39.    Software provided under this License is provided on an "AS IS" basis,
  40.    WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
  41.    WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
  42.    MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
  43.    See the License for the specific provisions governing your rights and
  44.    obligations concerning the Software.
  45.  
  46.    The Initial Developer of the Original Code is: Sun Microsystems, Inc.
  47.  
  48.    Copyright: 2000 by Sun Microsystems, Inc.
  49.  
  50.    All Rights Reserved.
  51.  
  52.    Contributor(s): _______________________________________
  53.  
  54. -->
  55.  
  56.  
  57. <!ENTITY % chart-class "(line|area|circle|ring|scatter|radar|bar|stock|add-in)">
  58. <!ENTITY % chart-solid-type "(cuboid|cylinder|cone|pyramid)">
  59.  
  60. <!-- Chart element -->
  61. <!ELEMENT chart:chart ( chart:title?, chart:subtitle?, chart:legend?,
  62.                         chart:plot-area,
  63.                         table:table? )>
  64. <!ATTLIST chart:chart
  65.           chart:class %chart-class; #REQUIRED
  66.           chart:add-in-name %string; #IMPLIED
  67.           chart:table-number-list %string; #IMPLIED
  68.           draw:name %string; #IMPLIED
  69.           %draw-position;
  70.           %draw-size;
  71.           %draw-style-name;
  72.           chart:column-mapping %string; #IMPLIED
  73.           chart:row-mapping %string; #IMPLIED
  74.           chart:style-name %styleName; #IMPLIED>
  75.  
  76. <!ATTLIST chart:chart %presentation-class; >
  77. <!ATTLIST chart:chart %zindex;>
  78. <!ATTLIST chart:chart %draw-end-position; >
  79. <!ATTLIST chart:chart draw:id %draw-shape-id; >
  80. <!ATTLIST chart:chart draw:layer %layerName; #IMPLIED>
  81.  
  82. <!ATTLIST style:properties
  83.           chart:scale-text %boolean; "true"
  84.           chart:stock-updown-bars %boolean; "false"
  85.           chart:stock-with-volume %boolean; "false"
  86.           chart:three-dimensional %boolean; "false"
  87.           chart:deep %boolean; "false"
  88.           chart:lines %boolean; "false"
  89.           chart:percentage %boolean; "false"
  90.           chart:solid-type %chart-solid-type; "cuboid"
  91.           chart:splines %nonNegativeInteger; "0"
  92.           chart:stacked %boolean; "false"
  93.           chart:symbol %integer; "-1"
  94.           chart:vertical %boolean; "false"
  95.           chart:lines-used %nonNegativeInteger; "0"
  96.           chart:connect-bars %boolean; "false"
  97.           chart:spline-order %nonNegativeInteger; "2"
  98.           chart:spline-resolution %nonNegativeInteger; "20">
  99.  
  100. <!-- Main/Sub Title -->
  101. <!-- the cell-address attribute is currently not supported for titles -->
  102. <!ELEMENT chart:title (text:p)?>
  103. <!ATTLIST chart:title
  104.           table:cell-range %cell-address; #IMPLIED
  105.           svg:x %coordinate; #IMPLIED
  106.           svg:y %coordinate; #IMPLIED
  107.           chart:style-name %styleName; #IMPLIED >
  108.  
  109. <!ELEMENT chart:subtitle (text:p)?>
  110. <!ATTLIST chart:subtitle
  111.           table:cell-range %cell-address; #IMPLIED
  112.           svg:x %coordinate; #IMPLIED
  113.           svg:y %coordinate; #IMPLIED
  114.           chart:style-name %styleName; #IMPLIED >
  115.  
  116. <!-- you must specify either a legend-position or both, x and y coordinates -->
  117. <!ELEMENT chart:legend EMPTY>
  118. <!ATTLIST chart:legend
  119.           chart:legend-position (top|left|bottom|right) "right"
  120.           svg:x %coordinate; #IMPLIED
  121.           svg:y %coordinate; #IMPLIED
  122.           chart:style-name %styleName; #IMPLIED >
  123.  
  124. <!-- Plot-Area specification -->
  125.  
  126. <!ELEMENT chart:plot-area (dr3d:light*,
  127.                            chart:axis*,
  128.                            chart:categories?,
  129.                            chart:series*,
  130.                            chart:wall?,
  131.                            chart:floor?) >
  132.  
  133. <!ATTLIST chart:plot-area
  134.           svg:x %coordinate; #IMPLIED
  135.           svg:y %coordinate; #IMPLIED
  136.           svg:width %length; #IMPLIED
  137.           svg:height %length; #IMPLIED
  138.           chart:style-name %styleName; #IMPLIED
  139.           table:cell-range-address %cell-range-address; #IMPLIED
  140.           chart:table-number-list %string; #IMPLIED
  141.           chart:data-source-has-labels (none|row|column|both) "none" >
  142.  
  143. <!-- 3d scene attributes on plot-area -->
  144. <!ATTLIST chart:plot-area
  145.           dr3d:vrp %vector3D; #IMPLIED
  146.           dr3d:vpn %vector3D; #IMPLIED
  147.           dr3d:vup %vector3D; #IMPLIED
  148.           dr3d:projection (parallel|perspective) #IMPLIED
  149.           dr3d:transform CDATA #IMPLIED
  150.           dr3d:distance %length; #IMPLIED
  151.           dr3d:focal-length %length; #IMPLIED
  152.           dr3d:shadow-slant %nonNegativeInteger; #IMPLIED
  153.           dr3d:shade-mode (flat|phong|gouraud|draft) #IMPLIED
  154.           dr3d:ambient-color %color; #IMPLIED
  155.           dr3d:lighting-mode %boolean; #IMPLIED >
  156.  
  157. <!ATTLIST style:properties
  158.           chart:series-source (columns|rows) "columns" >
  159.  
  160. <!ELEMENT chart:wall EMPTY>
  161. <!ATTLIST chart:wall
  162.           svg:width %length; #IMPLIED
  163.           chart:style-name %styleName; #IMPLIED >
  164.  
  165. <!ELEMENT chart:floor EMPTY>
  166. <!ATTLIST chart:floor
  167.           svg:width %length; #IMPLIED
  168.           chart:style-name %styleName; #IMPLIED >
  169.  
  170. <!-- Axis -->
  171.  
  172. <!ELEMENT chart:axis (chart:title?, chart:grid*)>
  173. <!ATTLIST chart:axis
  174.           chart:class (category|value|series|domain) #REQUIRED
  175.           chart:name %string; #IMPLIED
  176.           chart:style-name %styleName; #IMPLIED >
  177.  
  178. <!ATTLIST style:properties
  179.           chart:tick-marks-major-inner %boolean; "false"
  180.           chart:tick-marks-major-outer %boolean; "true"
  181.           chart:tick-marks-minor-inner %boolean; "false"
  182.           chart:tick-marks-minor-outer %boolean; "false"
  183.           chart:logarithmic %boolean; "false"
  184.           chart:maximum %float; #IMPLIED
  185.           chart:minimum %float; #IMPLIED
  186.           chart:origin %float; #IMPLIED
  187.           chart:interval-major %float; #IMPLIED
  188.           chart:interval-minor %float; #IMPLIED
  189.           chart:gap-width %integer; #IMPLIED
  190.           chart:overlap %integer; #IMPLIED
  191.           text:line-break %boolean; "true"
  192.           chart:display-label %boolean; "true"
  193.           chart:label-arrangement (side-by-side|stagger-even|stagger-odd) "side-by-side"
  194.           chart:text-overlap %boolean; "false"
  195.           chart:visible %boolean; "true" 
  196.           chart:link-data-style-to-source %boolean; "true" >
  197.  
  198. <!ELEMENT chart:grid EMPTY>
  199. <!ATTLIST chart:grid
  200.           chart:class (major|minor) "major"
  201.           chart:style-name %styleName; #IMPLIED >
  202.  
  203.  
  204. <!ELEMENT chart:categories EMPTY>
  205. <!ATTLIST chart:categories
  206.           table:cell-range-address %cell-range-address; #REQUIRED >
  207.  
  208. <!--
  209.     each series element must have an cell-range-address element that points
  210.     to the underlying table data.
  211.     Impl. Note: Internally all href elements are merged to one table range
  212.     that represents the data for the whole chart
  213. -->
  214. <!ELEMENT chart:series ( chart:domain*,
  215.                          chart:data-point* )>
  216. <!ATTLIST chart:series
  217.           chart:values-cell-range-address %cell-range-address; #IMPLIED
  218.           chart:label-cell-address %cell-address; #IMPLIED
  219.           chart:class %chart-class; #IMPLIED
  220.           chart:attached-axis %string; #IMPLIED
  221.           chart:style-name %styleName; #IMPLIED >
  222.  
  223. <!ELEMENT chart:domain EMPTY>
  224. <!ATTLIST chart:domain
  225.           table:cell-range-address %cell-range-address; #IMPLIED >
  226.  
  227. <!ELEMENT chart:data-point EMPTY>
  228. <!ATTLIST chart:data-point
  229.           chart:repeated %nonNegativeInteger; #IMPLIED
  230.           chart:style-name %styleName; #IMPLIED >
  231.  
  232. <!-- statistical properties -->
  233.  
  234. <!ATTLIST style:properties
  235.           chart:mean-value %boolean; #IMPLIED
  236.           chart:error-category (none|variance|standard-deviation|percentage|error-margin|constant) "none"
  237.           chart:error-percentage %float; #IMPLIED
  238.           chart:error-margin %float; #IMPLIED
  239.           chart:error-lower-limit %float; #IMPLIED
  240.           chart:error-upper-limit %float; #IMPLIED
  241.           chart:error-upper-indicator %boolean; #IMPLIED
  242.           chart:error-lower-indicator %boolean; #IMPLIED
  243.           chart:regression-type (none|linear|logarithmic|exponential|power) "none" >
  244.  
  245. <!-- data label properties -->
  246.  
  247. <!ATTLIST style:properties
  248.           chart:data-label-number (none|value|percentage) "none"
  249.           chart:data-label-text %boolean; "false"
  250.           chart:data-label-symbol %boolean; "false" >
  251.  
  252. <!-- general text properties -->
  253.  
  254. <!ATTLIST style:properties 
  255.           text:rotation-angle %integer; "0" 
  256.           fo:direction (ltr|ttb) #IMPLIED >
  257.  
  258. <!-- symbol properties -->
  259.  
  260. <!ATTLIST style:properties
  261.           chart:symbol-width %nonNegativeLength; #IMPLIED
  262.           chart:symbol-height %nonNegativeLength; #IMPLIED
  263.           chart:symbol-image-name %string; #IMPLIED >
  264.